/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variáveis de tema */ 
:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --header-bg: #f0f0f0;
    --link-color: #000000;
    --link-hover-color: #6a11cb;
    --button-bg: #dddddd;
    --button-text-color: #000000;
    --hero-bg-gradient: linear-gradient(135deg, #ab64a2, #537ec5); /* Atualizado */
    --card-bg: #eeeeee;
    --card-hover-color: #cccccc;
}

body.dark-theme {
    --bg-color: #121212;
    --text-color: white;
    --header-bg: #1a1a1a;
    --link-color: white;
    --link-hover-color: #6a11cb;
    --button-bg: #333;
    --button-text-color: white;
    --hero-bg-gradient: linear-gradient(to bottom, #6a11cb, #2575fc); /* Inalterado no modo escuro */
    --card-bg: #444;
    --card-hover-color: #555;
    --theme-icon: 'resources/nav/moon-white-svgrepo-com (1).svg';
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Estilo do Header */
header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--header-bg);
}

/* Seção esquerda contendo a logo e os links */
.left-section {
    display: flex;
    align-items: center;
}

/* Logo alinhada à esquerda */
.logo {
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.logo img {
    width: 60px;
    height: auto;
}

/* Links de navegação à direita da logo */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-left: 0;
}

.nav-links a.active {
    font-weight: bold; /* Exemplo: destaque com negrito */
    color: var(--link-hover-color); /* Altere a cor */
    text-decoration: underline; /* Opcional */
}

.nav-links img.active {
    filter: brightness(1.5); /* Torna a imagem mais destacada */
}

/* Estilo dos itens de navegação */
.nav-links li {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Estilo das imagens dos links */
.nav-links img {
    width: 24px;
    height: auto;
    margin-bottom: 5px;
    transition: filter 0.3s ease;
}

body.dark-theme .nav-links img {
    filter: brightness(0) invert(1); /* Torna a imagem branca no modo escuro */
}

/* Estilo dos links */
.nav-links a {
    color: var(--link-color);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--link-hover-color);
}

/* Botões de autenticação */
.auth-buttons {
    display: flex;
    gap: 10px;
    align-items: center; /* Centraliza verticalmente */
}

.auth-buttons button {
    background-color: var(--button-bg);
    color: var(--button-text-color);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.auth-buttons .sign-in {
    background-color: transparent;
    border: 1px solid var(--button-text-color);
}

.auth-buttons button:hover {
    background-color: var(--link-hover-color);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: var(--hero-bg-gradient);
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 40px;
}

.hero-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-images img {
    width: 200px;
    height: auto;
    border-radius: 10px;
}

.hero-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-links a {
    color: var(--link-color);
    text-decoration: none;
    font-size: 18px;
    background-color: var(--button-bg);
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero-links a:hover {
    background-color: var(--link-hover-color);
}

/* Overview Section */
.overview {
    display: flex;
    justify-content: space-around;
    padding: 40px 20px;
    background-color: var(--header-bg);
}

.card {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    background-color: var(--card-hover-color);
}

.card h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.card p {
    margin-bottom: 10px;
    color: var(--text-color);
}

/* Estilo Responsivo */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 20px;
    }

    .hero-images img {
        width: 150px;
    }

    .overview {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 80%;
        margin-bottom: 20px;
    }
}

/* Estilo do botão de mudança de tema */
.theme-toggle img {
    margin-right: 15px;
    margin-top: 8px;
    width: 24px;
    height: auto;
    cursor: pointer;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.theme-toggle img:hover {
    transform: scale(1.1);
}

body.dark-theme .theme-toggle img {
    filter: brightness(0) invert(1); /* Torna a imagem branca no modo escuro */
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 20px;
    }

    .contact-form button {
        padding: 12px;
    }
}

/* Seção específica para a página do plano básico */
.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 22px;
    margin-bottom: 40px;
}

/* Particulas bonitinhas */

.particle {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #40ffff;
    border-radius: 50%;
    pointer-events: none;
    animation: particle-move 1s forwards;
}

@keyframes particle-move {
    to {
        transform: translate(var(--x), var(--y));
        opacity: 0;
    }
}